aboutsummaryrefslogtreecommitdiff
path: root/apps/web/src/app/api/auth/[...nextauth]/route.ts
blob: 1570f886bc879abe16811f7a8810285eccf9c439 (plain) (blame)
1
2
3
4
5
6
7
import NextAuth from "next-auth";

import { authOptions } from "@/server/auth";

// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };